package by.grsu.hdm.devices;

import by.grsu.hdm.model.Media;

public class RemoteControl {
	private MediaCenter mediacenter;
	public RemoteControl(MediaCenter mediacenter){
		this.mediacenter = mediacenter;
	}
	public void mediaPlayerPlay(Media media){
		mediacenter.play(media);
	}
	public void mediaPlayerStop(){
		mediacenter.stop();
	}
	public void mediaPlayerPause(){
		mediacenter.pause();
	}
}
